package com.heyue.ems.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.heyue.common.core.annotation.Excel;
import com.heyue.common.core.web.domain.BaseEntity;

/**
 * GPS监控设备（基础）对象 gps
 * 
 * @author WCHU
 * @date 2021-07-26
 */
public class Gps extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** GPS编号 */
    @Excel(name = "GPS编号")
    private Long gpsId;

    /** 查询时间间隔 */
    @Excel(name = "查询时间间隔")
    private Long timeInterval;

    /** 当前状态 */
    @Excel(name = "当前状态")
    private Long gpsType;

    /** 生产厂家编号 */
    @Excel(name = "生产厂家编号")
    private Long manufacturerCompanyId;

    /** 剩余电量 */
    @Excel(name = "剩余电量")
    private String quantityElectricity;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGpsId(Long gpsId) 
    {
        this.gpsId = gpsId;
    }

    public Long getGpsId() 
    {
        return gpsId;
    }
    public void setTimeInterval(Long timeInterval) 
    {
        this.timeInterval = timeInterval;
    }

    public Long getTimeInterval() 
    {
        return timeInterval;
    }
    public void setGpsType(Long gpsType) 
    {
        this.gpsType = gpsType;
    }

    public Long getGpsType() 
    {
        return gpsType;
    }
    public void setManufacturerCompanyId(Long manufacturerCompanyId) 
    {
        this.manufacturerCompanyId = manufacturerCompanyId;
    }

    public Long getManufacturerCompanyId() 
    {
        return manufacturerCompanyId;
    }
    public void setQuantityElectricity(String quantityElectricity) 
    {
        this.quantityElectricity = quantityElectricity;
    }

    public String getQuantityElectricity() 
    {
        return quantityElectricity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gpsId", getGpsId())
            .append("timeInterval", getTimeInterval())
            .append("gpsType", getGpsType())
            .append("manufacturerCompanyId", getManufacturerCompanyId())
            .append("quantityElectricity", getQuantityElectricity())
            .toString();
    }
}
